import Api from '../utils/AjaxClient'
import ApiUrl from './config'

export default {
  //登录
  login: param => Api.post(`${ApiUrl.loginBaseURL}/login`, param),
  //获取用户信息
  userLogin: param => Api.get(`${ApiUrl.loginBaseURL}/userLogin`, param),
  //退出
  logout: () => Api.put(`${ApiUrl.loginBaseURL}/logout`, {})
}
